Skip to content

Keep uploads and extensions folders, quiet compose warnings - #154

Merged
bryantgillespie merged 1 commit into
mainfrom
bry/directus-folder-setup
Nov 8, 2026
Merged

bryantgillespie merged 1 commit into
mainfrom
bry/directus-folder-setup

Conversation

@bryantgillespie

Copy link
Copy Markdown
Contributor

Two small fixes found while testing npx directus-template-cli init against main.

Commit empty directus/uploads and directus/extensions folders. Without them, Docker creates the bind-mount folders as root on Linux, and Directus can't write uploads. The template's 49 files then fail to import, which breaks links to them (like the project logo). Starters already do this. .gitignore now ignores the contents but keeps the .gitkeep files.

Default the optional compose variables to blank. LOG_LEVEL, WEBSOCKETS_COLLAB_ENABLED and the EMAIL_SMTP_* vars aren't in .env.example, so every docker compose up printed "variable is not set" warnings. They now default to blank (same value Directus got before), so nothing changes at runtime.

Checked: docker compose config with .env.example prints no warnings.

@vercel

vercel Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
agency-os Ready Ready Preview Nov 8, 2026 9:21am UTC

Request Review

@bryantgillespie
bryantgillespie merged commit 9201dd0 into main Nov 8, 2026
4 checks passed
@bryantgillespie
bryantgillespie deleted the bry/directus-folder-setup branch November 8, 2026 11:02

This branch was successfully deployed

1 active deployment
Preview — d4977381 Deployed Nov 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant